lib/commit: clean up assertions
authorLuca BRUNO <luca.bruno@coreos.com>
Tue, 1 Feb 2022 17:33:28 +0000 (17:33 +0000)
committerLuca BRUNO <luca.bruno@coreos.com>
Tue, 1 Feb 2022 17:33:28 +0000 (17:33 +0000)
commite6e9f14985a52248a03d3e7202f876cadee1c7c8
tree84cd8d79634837280b51a91667732cdd83516249
parenta10669dc4ae21625371b9f9c94fc959f114f4052
lib/commit: clean up assertions

This aligns all the assertion in the module. In particular, it gets
rid of all `g_return_val_if_fail` instances which may fail without
properly setting GError to the caller.
src/libostree/ostree-repo-commit.c